import koa from "koa"
import { appPort } from "./config/appsetting.js"
import { userControllers } from "./controllers/index.js"
import { sync } from "./db/index.js"

// await sync()
let app=new koa()


userControllers(app)

app.listen(appPort)

console.log(`http://localhost:${appPort}`);

